﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace PIAE
{
    static class Program
    {
        public static bool forceNoAlbum = false;
        public static bool forceError = false;
        public static string initLang = "";

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {

            foreach (string arg in args)
            {
                if (arg.ToLowerInvariant().Equals("-forcenoalbum"))
                {
                    forceNoAlbum = true;
                }
                if (arg.ToLowerInvariant().Equals("-forceerror"))
                {
                    forceError = true;
                } 
                if (arg.ToLowerInvariant().StartsWith("-lang"))
                {
                    initLang = arg.ToLowerInvariant().Substring(5);
                }
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }
}
